From: Florian Eckert Date: Mon, 14 Sep 2020 13:34:37 +0000 (+0200) Subject: Merge pull request #3265 from najdanovicivan/patch-2 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=5ca328440b3a41ab6d415ec96f9db4339715de67;p=project%2Fluci.git Merge pull request #3265 from najdanovicivan/patch-2 luci-mod-network: add address parameter in DHCP for dnsmasq --- 5ca328440b3a41ab6d415ec96f9db4339715de67 diff --cc modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index fa991db41d,540e9f8eb1..37cc29f32a --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@@ -279,9 -184,15 +279,16 @@@ return view.extend( o.optional = true; o.placeholder = '/example.org/10.1.2.3'; + o.validate = validateServerSpec; + o = s.taboption('general', form.DynamicList, 'address', _('Addresses'), + _('List of domains to force to an IP address.')); + + o.optional = true; + o.placeholder = '/router.local/192.168.0.1'; + + o = s.taboption('general', form.Flag, 'rebind_protection', _('Rebind protection'), _('Discard upstream RFC1918 responses'));